﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>区域-楼宇-房屋维护</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" type="text/css" href="../../../../WebPlugin/jquery-easyui/themes/default/easyui.css"/>
	    <link rel="stylesheet" type="text/css" href="../../../../WebPlugin/jquery-easyui/themes/icon.css"/>
	    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/jquery-1.7.1.min.js"></script>
	    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/jquery.easyui.min.js"></script>
	    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
	    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/JQueryCommon.js"></script>
        <script src="../../PageJS/BaseInfo/RoomManager.js" type="text/javascript"></script>
        <script src="../../../../WebPlugin/jquery-easyui/jquery.json-2.3.min.js" type="text/javascript"></script>
</head>
<script>
</script>
<body class="easyui-layout"> 
      <div region="center" style="overflow:hidden;">
         <div id="tabs" class="easyui-tabs" fit="true"  style="padding:0px;">
                <div title="区域楼宇" iconCls="icon-reload" style="padding:0px;" fit="true" closable="false" >
			            <div class="easyui-layout" fit="true">
                            <div region="west" split="true" title="管理区域" style="width:400px;padding:0px;">
	                             <table id="areaGrid" idField="AreaCode">
	                                <thead>
			                                <tr>
				                                <th field="AreaCode" width="100">编码</th>
				                                <th field="AreaName" width="150" >区域名称</th>
				                                <th field="BuildingAmount" width="60" >房屋栋数</th>
				                                <th field="TotalUnits" width="60" >总套数</th>
				                                <th field="Developers" width="100" >开发商</th>
				                                <th field="Contractors" width="100" >承建商</th>
				                                <th field="Location" width="100" >地理位置</th>
				                                <th field="TotalCovers" width="70" >总占地面积</th>
				                                <th field="TotalConstruction" width="70" >总建筑面积</th>
				                                <th field="TotalUseArea" width="70" >总使用面积</th>
				                                <th field="GreenRate" width="70" >绿化率</th>
				                                <th field="BeginDate" width="100" >开工日期</th>
				                                <th field="CompleteDate" width="100" >竣工日期</th>
				                                <th field="EnterDate" width="100" >入伙日期</th>
				                                <th field="PictureUrl" width="100" >图片信息</th>
				                                <th field="Memo" width="100" >备注</th>
			                                </tr>
	                                </thead>
	                            </table>
	                        </div>	 
	                        <div region="center" title="楼宇">
	                            <table id="buildingGrid" idField="BuildingID">
	                                <thead>
			                                <tr>
				                                <th field="BuildingCode" width="100">编码</th>
				                                <th field="BuildingName" width="150" >楼宇名称</th>
				                                <th field="AreaCode" width="150" formatter="areaCodeFormatter" >区域名称</th>
				                                <th field="Unit" width="100" >单元数</th>
				                                <th field="FloorNum" width="100" >楼层数</th>
				                                <th field="HousNum" width="100" >房屋数</th>
				                                <th field="Developers" width="100" >开发商</th>
				                                <th field="Contractors" width="100" >承建商</th>
				                                <th field="Location" width="100" >地理位置</th>
				                                <th field="Usage" width="100" >用途</th>
				                                <th field="TotalCoversArea" width="100" >总占地面积</th>
				                                <th field="TotalConstrucArea" width="100" >总建筑面积</th>
				                                <th field="TotalUseArea" width="100" >总使用面积</th>
				                                <th field="GreenRate" width="100" >绿化率</th>
				                                <th field="BeginDate" width="100" >开工日期</th>
				                                <th field="CompleteDate" width="100" >竣工日期</th>
				                                <th field="HandDate" width="100" >交楼日期</th>
				                                <th field="ResponsMen" width="100" >负责人</th>
				                                <th field="PictureUrl" width="100" >图片信息</th>
				                                <th field="Memo" width="100" >备注</th>
			                                </tr>
	                                </thead>
	                            </table>
	                        </div>			
			            </div>           			 
		       </div>
		
		        <div title="房间" iconCls="icon-reload" style="padding:0px;" fit="true" closable="false">
			         <div class="easyui-layout" fit="true">
			            <div region="center">
	                        <table id="roomGrid" idField="RoomId">
	                            <thead>
			                            <tr>
			                                <th field="RoomNumber" width="100">编码</th>
			                                <th field="AreaName" width="150" >区域名称</th>
			                                <th field="BuildingName" width="150" >楼宇名称</th>
			                                <th field="UseTypeName" width="150" >房间类型</th>
			                                <th field="Unit" width="50" >单元</th>
			                                <th field="FloorNum" width="100" >楼层</th>
			                                <th field="RoomModelName" width="100" >户型</th>
			                                <th field="TowardName" width="100" >朝向</th>
			                                <th field="StructName" width="100" >结构</th>
			                                <th field="ConstrucArea" width="100" >建筑面积</th>
			                                <th field="UseArea" width="100" >使用面积</th>
			                                <th field="UseStatusName" width="100" >使用状态</th>
			                                <th field="Document" width="100" >相关文档</th>
			                                <th field="PictureUrl" width="100" >图片信息</th>
			                                <th field="Memo" width="100" >备注</th>
			                            </tr>
	                            </thead>
	                        </table>
	                    </div>
			         </div>
		        </div>
		         <div title="门面" iconCls="icon-reload" style="padding:0px;" fit="true" closable="false">
		             
                        <table id="shoplistGrid" class="easyui-datagrid"  url= '../Controller.aspx?controller=SysInitController&method=GetShopList&shopname=';
                             singleSelect="true"   style="overflow:hidden;" idField="ShopId" toolbar="#toolshop" border="false" fitColumns="true" rownumbers="true" pagination="true">	    
                            <thead>
                                <tr>
                                    <th field="ShopName" width="100">门面名称</th>
				                    <th field="OwnerName" width="120">名称</th>
				                    <th field="UseArea" width="120">使用面积</th>
				                    <th field="Memo" width="80">备注</th>
                                </tr>
                            </thead>
                         </table>
		         </div>
		
		 </div>
     </div>
    </body> 
 <%--弹出窗界面--%>    
  <div id="dialog-area" icon="icon-save" style="background:#fafafa;padding:10px;width:620px;height:350px;">
    <form id="areaform" method="post">   
    <table>
		<tr>
            <td ><label>编码:</label></td>
            <td><input id="areaCode" class="easyui-validatebox"   name="AreaCode" required="true" style="width:200px;"></input></td>
             <td><label>区域名称:</label></td>
             <td><input class="easyui-validatebox"  name="AreaName" required="true" style="width:200px;"></input></td>             
       </tr>
       <tr>
            <td><label>房屋栋数:</label></td>
            <td><input class="easyui-numberbox" min="1" type="text" name="BuildingAmount"  style="width:200px;"/></td>
              <td><label>总套数:</label></td>
            <td><input class="easyui-numberbox" min="1" type="text" name="TotalUnits" style="width:200px;"/></td>
       </tr>
      <tr>
            <td><label>开发商:</label></td>
            <td><input type="text" name="Developers"  style="width:200px;"/></td>
            <td><label>承建商:</label></td>
            <td><input  type="text" name="Contractors"  style="width:200px;"/></td>
       </tr>
       <tr>
            <td><label>地理位置:</label></td>
            <td><input  type="text" name="Location" style="width:200px;"/></td>
            <td><label>总占地面积:</label></td>
            <td><input class="easyui-numberbox" min="1"  precision="2" type="text" name="TotalCovers" style="width:200px;"/></td>
       </tr>
       <tr>
            <td><label>总建筑面积:</label></td>
            <td><input class="easyui-numberbox" min="1"  precision="2"  type="text" name="TotalConstruction"  style="width:200px;"/></td>
                <td><label>总使用面积:</label></td>
            <td><input class="easyui-numberbox" min="1"  precision="2" type="text" name="TotalUseArea"  style="width:200px;"/></td>
       </tr>

        <tr>
            <td><label>绿化率(%):</label></td>
            <td><input class="easyui-numberbox" min="0"  precision=2  type="text" name="GreenRate"  style="width:200px;"/></td>
             <td><label>开工日期:</label></td>
            <td><input  class="easyui-datebox" name="BeginDate"  style="width:205px;"/></td>
       </tr>
        <tr>
            <td><label>竣工日期:</label></td>
            <td><input  class="easyui-datebox" name="CompleteDate"  style="width:205px;" /></td>
              <td><label>入伙日期:</label></td>
            <td><input  class="easyui-datebox" name="EnterDate"  style="width:205px;"/></td>
       </tr>
       <tr>
            <td><label>备注:</label></td>
            <td colspan=3><textarea name="Memo" style="width: 488px; height: 58px"></textarea></td>
       </tr>
       </table>  
       <input id="formareatype" type="hidden" name="type" /> 
    </form>
</div>

<div id="dialog-building" icon="icon-save" style="background:#fafafa;padding:10px;width:620px;height:430px;">
    <form id="buildingform" method="post">				                                
       <table>
		<tr>
            <td ><label>编码:</label></td>
            <td><input  id="buildingCode" class="easyui-validatebox"  name="BuildingCode" required="true" style="width:200px;"></input></td>
            <td><label>区域代码:</label></td>
            <td><input id="areaid" class="easyui-combobox" editable="false" style="width:205px" type="text" name="AreaCode" valueField="AreaCode" textField="AreaName" required="true" panelHeight="auto"></input></td>          
        </tr>
        <tr>
             <td><label>大楼名称:</label></td>
             <td><input class="easyui-validatebox" name="BuildingName" required="true" style="width:200px;"></input></td>   
            <td><label>单元:</label></td>
            <td><input class="easyui-validatebox" type="text" name="Unit" required="true" missingMessage="请按照A,B,C,D格式进行输入" style="width:200px;"/></td>
            
       </tr>
        <tr>
            <td><label>楼层数:</label></td>
            <td><input class="easyui-numberbox" min="1" required="true" type="text" name="FloorNum" style="width:200px;"/></td>
            <td><label>房屋数:</label></td>
            <td><input class="easyui-numberbox" min="1" type="text" name="HousNum"  style="width:200px;"/></td>
           
        </tr>
        <tr>
            <td><label>开发商:</label></td>
            <td><input  type="text" name="Developers"  style="width:200px;"/></td>
            <td><label>承建商:</label></td>
            <td><input  type="text" name="Contractors" style="width:200px;"/></td>
           
        </tr>
        <tr>
            <td><label>地理位置:</label></td>
            <td><input type="text" name="Location" style="width:200px;"/></td>
            <td><label>用途:</label></td>
            <td><input class="easyui-combobox"  type="text" name="Usage" editable="false" style="width:205px;" valueField="Code"  textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=0" panelHeight="auto"/></td>
           
        </tr>
        <tr>
            <td><label>总占地面积:</label></td>
            <td><input  class="easyui-numberbox" min="1"  precision="2" type="text" name="TotalCoversArea"  style="width:200px;"/></td>
            <td><label>总建筑面积:</label></td>
            <td><input   class="easyui-numberbox" min="1"  precision="2" type="text" name="TotalConstrucArea" style="width:200px;"/></td>
          
        </tr>
        <tr>
            <td><label>总使用面积:</label></td>
            <td><input  class="easyui-numberbox" min="1"  precision="2" type="text" name="TotalUseArea"  style="width:200px;"/></td>
            <td><label>绿化率:</label></td>
            <td><input  class="easyui-numberbox" min="0"  precision="2"  type="text"  name="GreenRate"  style="width:200px;" /></td>
          
       </tr>
        <tr>
           <td><label>开工日期:</label></td>
            <td><input  class="easyui-datebox" name="BeginDate"  style="width:205px;"/></td>
            <td><label>竣工日期:</label></td>
            <td><input  class="easyui-datebox"  name="CompleteDate"  style="width:205px;" /></td>
          
       </tr>
        <tr>
           <td><label>交楼日期:</label></td>
            <td><input  class="easyui-datebox" name="HandDate"  style="width:205px;"/></td>
            <td><label>负责人:</label></td>
            <td><input  type="text" name="ResponsMen" style="width:200px;"/></td>
        </tr>
        <tr>
            <td><label>备注:</label></td>
            <td colspan=3><textarea name="Memo" style="width: 488px; height: 58px"></textarea></td>
       </tr>
       </table>
         <input id="formbuildtype" type="hidden" name="type" />
    </form>
</div>

<div id="dialog-room" icon="icon-save" style="background:#fafafa;padding:10px;width:620px;height:330px;">
    <form id="roomform" method="post">
      <table>
        <tr>
            <td><label>编码:</label></td>
            <td><input id='pRoomNumber' class="easyui-validatebox" type="text" name="RoomNumber" style="width:200px;" required="true"></input></td>
            <td><label>所属区域:</label></td>
            <td><input id="pArea" class="easyui-combobox" type="text" name="AreaCode"  required="true" editable="false" style="width:205px"  valueField="AreaCode"  textField="AreaName"  url="../Controller.aspx?controller=RoomController&method=GetCombAreaList"  panelHeight="auto""/></td>
           
        </tr>
        <tr>   
            <td><label>所属大楼:</label></td>
            <td><input id="pBuilding" class="easyui-combobox" type="text" name="BuildingCode"  required="true" editable="false" style="width:205px"  valueField="BuildingCode"  textField="BuildingName"  panelHeight="auto""/></td>
            <td><label>单元:</label></td>
            <td><input  id='punit' class="easyui-combobox"  type="text" name="Unit" required="true" style="width:205px;" editable="false"  required="true"   valueField="Code"  textField="Code"  panelHeight="auto"/></td>
        </tr>	
        <tr>      
            <td><label>楼层:</label></td>
            <td><input  id='floorNum' class="easyui-numberspinner" min="1" value="2"  required=true name="FloorNum"  style="width:205px;"/></td>
            <td><label>房间类型:</label></td>
            <td><input class="easyui-combobox"  type="text" name="UseType" style="width:205px;"required="true" editable="false"  valueField="Code"  textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=1" panelHeight="auto"></input></td>             
       </tr>
      <tr>
            <td><label>户型:</label></td>
            <td><input class="easyui-combobox" type="text" name="RoomModel"  style="width:205px;" valueField="Code" editable="false"  textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=2" panelHeight="auto"/></td>
             <td><label>朝向:</label></td>
            <td><input class="easyui-combobox" type="text" name="Toward"  style="width:205px;" valueField="Code"  editable="false" textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=3" panelHeight="auto"/></td>
       </tr>
       <tr>
            <td><label>结构:</label></td>
            <td><input class="easyui-combobox"  type="text" name="Struct" style="width:205px;" valueField="Code" editable="false" textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=4" panelHeight="auto"/></td>
             <td><label>建筑面积:</label></td>
            <td><input  class="easyui-numberbox" min="1"  precision="2" required="true" type="text" name="ConstrucArea" style="width:200px;"/></td>
       </tr>
       <tr>
            <td><label>使用面积:</label></td>
            <td><input  class="easyui-numberbox" min="1"  precision="2" required="true"  type="text" name="UseArea" required="true"  style="width:200px;"/></td>
             <td><label>使用状态:</label></td>
            <td><input class="easyui-combobox" type="text"  precision="2" name="UseStatus" required="true" editable="false"  required="true"  style="width:205px;" valueField="Code"  textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=5" panelHeight="auto"/></td>
       </tr>
       <tr>
            <td><label>备注:</label></td>
            <td colspan=3><textarea name="Memo" style="width: 475px; height: 58px"></textarea></td>
       </tr>
       </table>
       <input id="formroomid" type="hidden" name="RoomId" />
    </form>
</div>

<div id="dialog-search"  icon="icon-search" style="background:#fafafa;padding:10px;width:340px;height:230px;">
    <form id="searchform" method="post">
      <table>
        <tr>
            <td><label>所属区域:</label></td>
            <td><input id="searchArea" class="easyui-combobox" type="text"  name="AreaCode"  style="width:205px"  valueField="AreaCode"  textField="AreaName"  url="../Controller.aspx?controller=RoomController&method=GetCombAreaList"  panelHeight="auto"/></td>
           
        </tr>
        <tr>
            <td><label>所属大楼:</label></td>
            <td><input id="searchBuilding" class="easyui-combobox" type="text" name="BuildingCode"  style="width:205px"  valueField="BuildingCode"  textField="BuildingName" url ="../Controller.aspx?controller=RoomController&method=GetBuildingFieldList&AreaCode=" panelHeight="auto"/></td>
        </tr>
		<tr>
             <td><label>房间类型:</label></td>
             <td><input id="useType" class="easyui-combobox"  type="text" name="UseType" style="width:205px;" valueField="Code"  textField="Name"  url="../Controller.aspx?controller=RoomController&method=GetBaseData&type=1" panelHeight="auto"></input></td>             
       </tr>
       <tr>
             <td><label>房间号:</label></td>
             <td><input id="RoomNumber"  type="text" name="RoomNumber" style="width:200px;"></input></td>             
       </tr>
       </table>
    </form>
</div>

<div id="dialog-shopsearch"  icon="icon-search" style="background:#fafafa;padding:20px;width:340px;height:150px;">
    <form id="shopsearchform" method="post">
      <table>
       <tr>
             <td><label>门面名:</label></td>
             <td><input id="txtshop"  type="text" name="ShopName" style="width:200px;"></input></td>             
       </tr>
       </table>
    </form>
</div>

<div id="dialog-batchadd" icon="icon-save" style="background:#fafafa;padding:10px;width:580px;height:460px;">  
	<div class="easyui-layout" style="height:400px;">
		<div region="north" style="overflow:hidden;height:90px;background:#fafafa;" border="false">
			<table>
              <tr>
                    <td><label>所属区域:</label></td>
                    <td><input id="batchaddarea" class="easyui-combobox" type="text"  required="true" name="AreaCode"  style="width:150px"  valueField="AreaCode"  textField="AreaName"  url="../Controller.aspx?controller=RoomController&method=GetCombAreaList"  panelHeight="auto""/></td>
                    <td><label>&nbsp;&nbsp;&nbsp;&nbsp; 所属大楼:</label></td>
                    <td><input id="batchaddbuilding" class="easyui-combobox" type="text"  required="true"  name="BuildingCode"  style="width:150px"  valueField="BuildingCode"  textField="BuildingName"  panelHeight="auto""/></td>
              </tr>
              <tr>
                 <td><label>楼层数:</label></td>
                 <td><input id="FloorNum" class="easyui-numberbox" type="text" name="FloorNum" style="width:150px;"></input></td>    
                 <td rowspan="2" colspan="2"><label>&nbsp&nbsp&nbsp&nbsp1区域 2大楼 3楼层 4单元 5房间号 <br>&nbsp&nbsp&nbsp&nbsp生成规则(例)：[1]-[2][3][4][5]</label></td>
                   
              </tr>
               <tr>
                 <td><label>生成规则:</label></td>
                 <td><input id="Rule" class="easyui-validatebox" type="text" name="Rule" style="width:150px;"></input></td>    
              </tr>
             
             </table>
		</div>
		<div region="south"  style="height:50px;background:#fafafa;" border="false">
		     <div class="toolbar" style="padding:10px 5px 5px 150px"> 
		        <a href="#" class="easyui-linkbutton" iconCls="icon-reload" onclick="batchroomadd_load();">刷新</a>
		        <a href="#" class="easyui-linkbutton"  iconCls="icon-add" onclick="batchroomadd_add();">生成</a>
		        <a href="#" class="easyui-linkbutton"  iconCls="icon-no" onclick="batchroomadd_del();">删除</a>
		        <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="batchroomadd_cancel();">取消</a>
	        </div>
		</div>
		<div region="center"  style="background:#fafafa;overflow:hidden">
			<table class="easyui-datagrid"
					 id="batchroomgrid"  border="false"
					fit="true" fitColumns="true" singleSelect="true" ondblclick="">
				<thead>
					<tr>
						<th field="CellNum" width="80" >单元</th>
				        <th field="roomBegin" width="80" editor="{type:'numberbox'}">房间起始号</th>
				        <th field="roomEnd" width="80"   editor="{type:'numberbox'}">房间结束号</th>
					</tr>
				</thead>
			</table>
		</div>
	</div> 
</div>

<div id="dialog-addshop"  class="easyui-layout"  icon="icon-save" style="background:#fafafa;padding:10px;width:700px;height:500px;">
      <div region="west" style="width:250px;padding:0px;" split="true" border="false">      
         <div class="easyui-layout" fit="true"  style="overflow:hidden;">
                <div region="north"   style="overflow:hidden;padding:2px;height:150px; background-color:#EFEFEF" border="false">
                     <table>
		                    <tr>
                                <td><label>管理区:</label></td>
                               <td><input id="searchshopArea" class="easyui-combobox"  type="text" name="AreaCode"  style="width:165px"  valueField="AreaCode"  textField="AreaName"  url="../Controller.aspx?controller=RoomController&method=GetCombAreaList"  panelHeight="auto""/></td>
                           </tr>
                           <tr>
                                <td><label>大楼:</label></td>
                               <td><input id="searchshopBuilding" class="easyui-combobox"  type="text" name="BuildingCode"  style="width:165px"  valueField="BuildingCode"  textField="BuildingName"  url ="../Controller.aspx?controller=RoomController&method=GetBuildingFieldList&AreaCode=" panelHeight="auto"/></td>
                           </tr> 
                           <tr>
                                <td><label>房间号:</label></td>
                                <td><input id="searchshopId" type="text" name="RoomId"  style="width:160px;"/></td>
                           </tr>
                            <tr>
                                <td></td>
                                <td align="left"><input id="btnSearch" type="button" value="查找"  style="width:60px;" onclick="fn_searchshop();"/>
                                  <input id="Button1" type="button" value="重置"  style="width:60px;" onclick="fn_reset();"/>
                                </td>
                           </tr>
                      </table>
                </div>	 
                <div region="center" title="房间信息(“双击”添加到右边)" >
                    <table id="ownerRoomGrid" singleSelect="true"  class="easyui-datagrid" idField="RoomId" fit="true" pagination="true" border="false">
                        <thead>
                                <tr>
	                                <th field="BuildingCode" width="60">大楼</th>
	                                <th field="RoomNumber" width="80" >房间号</th>
	                                <th field="Name" width="80" >业主姓名</th>	                              
                                </tr>
                        </thead>
                    </table>
               		
            </div>           
          </div>
	  </div>	 
     
     <div region="center" style="overflow:hidden;" fit="true" >    
      <div class="easyui-layout" fit="true"  style="overflow:hidden;">  
            <div region="north" style="overflow:hidden; height:150px"  border="false">  
                <form id="shopaddform" method="post" style="padding:20px 10px 10px 20px;" >         
                     <table>
		                <tr>
                            <td><label>名称:</label></td>
                            <td><input id="fromshopname" class="easyui-validatebox" type="text" name="ShopName" required="true" style="width:250px;"></input>
                            </td>
                       </tr>
                       <tr>
                            <td><label>使用面积:</label></td>
                            <td><input id="shopusearea" class="easyui-validatebox" value="0" type="text" name="UseArea" required="true" style="width:250px;" readonly="readonly"></input>
                            </td>
                       </tr>
                       <tr>
                            <td><label>备注:</label></td>
                              <td colspan=3><textarea id="fromshopmemo" name="Memo" style="width: 250px; height: 58px"></textarea></td>
                       </tr>
                       </table>  
                       <input id="formshopid" type="hidden" name="ShopId" />
                    </form>
              </div>
              
               <div region="center" title="门面所包含房间信息(从右边选择房间)" fit="true">
               	    <div id="tool">
							<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-reload" onclick="javascript:$('#shopsroomGrid').datagrid('reload');">刷新</a>
							<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-no" onclick="fn_delshoproomfield();">移除</a>
				   </div>
                    <table id="shopsroomGrid"  toolbar="#tool" class="easyui-datagrid" border="false"  singleSelect="true" fitColumns="true">
                        <thead>
                                <tr>
	                                <th field="RoomNumber" width="50" >房间号</th>
	                                <th field="AreaCode" width="80" formatter="areaCodeFormatter" >区域名称</th>
	                                <th field="BuildingCode" width="80" >楼宇编码</th>
	                                <th field="UseArea" width="100" >使用面积</th> 
	                                <th field="Memo" width="80">备注</th>                             
                                </tr>
                        </thead>
                    </table>
               </div>
           
           </div>
    </div>
</div>

</html>
